DCC
Category: DCC
Syntax:
DCC Abort id
DCC Accept [id] filename
DCC Chat nickname
DCC Reject [id]
DCC Request type user@host [filename]
ip port [totalsize]
[reversetoken]
DCC Resume [id] offset filename
DCC Send nickname [filename]
DCC TSend nickname [filename]
DCC Whiteboard nickname
For DCC Abort, DCC Accept, DCC Reject, and DCC
Resume, id must be a DCC entry ID returned by DCCList if specified. If id is omitted
(except for DCC Abort), the command can only be used inside an <OnDCCRequest> event.
- DCC Abort - Cancels a DCC connection.
- DCC Accept - Accepts a DCC request that is waiting in the list,
or request currently being processed if id is omitted. If
filename is omitted, the file will be saved in your download path
using the default filename.
- DCC Chat - Sends a DCC Chat request to nickname.
- DCC Reject - Cancels a DCC connection. If id is omitted,
this cancels the request currently being processed; otherwise this is just
like DCC Abort.
- DCC Request - Adds a request to ViRC's DCC list.
This should be called from a CTCP DCC event. type can be
chat
, wboard
, send
, or
tsend
. filename and totalsize should only
be included when type is send
or tsend
;
filename must be quoted. totalsize is required when
type is tsend
.
- DCC Resume - Attempts to resume an incomplete file. offset
is the number of bytes you have downloaded already. If filename
is omitted, the file will be saved in your download path using the default
filename. The sender's client must support DCC resume.
- DCC Send - Sends a file to nickname. filename is
relative to your upload path; if it is omitted, a dialog box will appear so
you can choose a file.
- DCC TSend - Just like DCC Send, but uses TDCC instead of DCC.
- DCC Whiteboard - Sends a DCC Whiteboard request to nickname.
If their client doesn't support whiteboard, it will appear as a DCC Chat
request instead.
Example:
// chat a random person from the channel
DCC Chat $ListRand($NickList($C))
// auto-accept all DCC chats
Event <OnDCCRequest_acceptchat> "% CHAT"
DCC Accept
EndEvent
Next in "DCC": DCCChatList
Next by name: DCCChatList
Previous by name: Date
Up to all commands by name or
commands and functions by category